home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 1 / LIGHT-ROM 1 (Amiga Library Services)(1994).iso / ffdisks / d953.lha / ISAM / ISAMLibPROTOnn.h < prev    next >
C/C++ Source or Header  |  1993-11-28  |  2KB  |  69 lines

  1. #include <MYLIB:ISAMLibPragmas.h>
  2. #include <MYLIB:ISAMErrDefs.h>
  3. #include <exec/types.h>
  4.  
  5. #define OK          (long)  0
  6. #define ALLFILES    (UWORD) 0
  7.  
  8.  
  9. /************** PROTOTYPES FOR USER-LINKED ISAM FUNCTIONS *******************/
  10.  
  11. long ShutDownISAM ( void );
  12.  
  13. long DisConnectISAM ( int );
  14.  
  15. long CreateISAMFile ( char * );
  16.  
  17. long ReIndexISAMFile ( char *, BOOL );
  18.  
  19. long DeleteISAMFile ( char * );
  20.  
  21. long OpenISAMFile ( char *, BOOL, char, BOOL, UWORD * );
  22.  
  23. long ReadUniqueISAMRecord ( UWORD, UWORD, void *, BOOL, char, ULONG *, void * );
  24.  
  25. long SetUpISAMIterationRange ( UWORD, UWORD, UBYTE, void *, void * );
  26.  
  27. long SetUpISAMIterationKey ( UWORD, UWORD, void * );
  28.  
  29. long SetUpISAMIterationPrefix ( UWORD, UWORD, void *, UWORD );
  30.  
  31. long ReadNextISAMRecord ( UWORD, UWORD, BOOL, char, ULONG *, void * );
  32.  
  33. long ReadNextISAMKey ( UWORD, UWORD, ULONG *, void * );
  34.  
  35. long CountISAMRecords ( UWORD, UWORD, ULONG, ULONG * );
  36.  
  37. long DeleteISAMRecords ( UWORD, UWORD, ULONG * );
  38.  
  39. long ReadISAMRecord ( UWORD, ULONG, BOOL, char, void * );
  40.  
  41. long StoreISAMRecord ( UWORD, void *, BOOL, char, ULONG * );
  42.  
  43. long ModifyISAMRecord ( UWORD, ULONG, void * );
  44.  
  45. long DeleteISAMRecord ( UWORD, ULONG );
  46.  
  47. long CloseISAMFile ( UWORD );
  48.  
  49. long LockISAMFile ( UWORD, char );
  50.  
  51. long UnLockISAMFile ( UWORD );
  52.  
  53. long LockISAMRecord ( UWORD, ULONG, char );
  54.  
  55. long UnLockISAMRecord ( UWORD, ULONG );
  56.  
  57. long UnLockAllISAMRecords ( UWORD );
  58.  
  59.  
  60. /********************** Other ISAM-related Functions ********************/
  61.  
  62. char *ISAMWhy ( long );
  63.  
  64. long ReportISAMStatus ( void );
  65.  
  66. long GetFirstLastISAMKeyValues ( ULONG, UWORD, void *, ULONG *,
  67.                                                void *, ULONG * );
  68.  
  69.